home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 71.zip
/
BS1 part 71
/
X-Cad3000_d5.adf
/
XCdoc
/
triment
< prev
next >
Wrap
Text File
|
1991-11-22
|
3KB
|
71 lines
7.1.2 TRIM ENTITY
The TRIM ENTITY command is used to trim - shorten or lengthen - an existing
entity. Not all entities can be trimmed. Valid entities are lines, strings,
arcs and ellipses.
COMMAND FORMAT
The command format varies depending on which trim option is chosen. In the
default mode with no specific option chosen, the format is :
#TRIM ENTITY :Ent x1 :Loc x2 [:Ent ... ]
The entity identified at location 'x1' is the entity to be trimmed. Location
'x2' defines the trim point. This is the point of intersection of a normal
projected from location 'x2' to the selected entity.
Which end of the entity is trimmed is determined by the identifying
location ('x1'). The end-point farthest from this location is left as it is.
The end-point nearest to the identifying location is trimmed to the point
defined by 'x2'. ( See figs. 7.4 to 7.6 ).
MODIFIERS
INTERSECTION Format:
#TRIM ENTITY INTERSECTION :Ent x1 x2 :Ent ...
This modifier is used to trim two entities - identified by
'x1' and 'x2'. The entities will be trimmed to their common
point of intersection if one exists. ( See fig. 7.7 ).
Which end of the entity is trimmed is determined by the
identifying locations in the same manner as the default trim
mode.
AGAINST Format:
#TRIM ENTITY AGAINST :Ent x1 x2 x3 ... xn
When the AGAINST modifier is used, a number of entities can
be trimmed to their respective points of intersection with
a common entity. The entity to be trimmed against is iden-
tified with 'x1'. The entities to be trimmed are identified
by 'x2' through to 'xn'. All of the latter entities will be
trimmed to the point where they intersect with the first
entity. ( See fig. 7.8 ).
Which end of the entity is trimmed is determined by the
identifying locations in the same manner as the default trim
mode.
LENGTH Format:
#TRIM ENTITY LENGTH value :Ent x1 x2 ... xn
The length modifier can be used to trim any line entity to a
specific length. The required length is entered after the
LENGTH modifier. ( See fig. 7.9 ).
Which end of the line is trimmed is determined by the iden-
tifying location. The end-point farthest from this location
is left as it is. The end-point nearest to the identifying
location is changed to reflect the new line length.